home *** CD-ROM | disk | FTP | other *** search
-
-
- tabletnet
-
-
- tablenet generates a small series of waveforms
- and writes them into a 16-bit AIFF file named tableNet.aifc.
-
-
- tablenet.c:
- Generates AIFF-C file containing eight single, cycle waveforms
- stored in the following order:
-
- 1 non-bandlimited sawtooth
- 2 non-bandlimited triangle
- 3 non-bandlimited pulse wave (25% duty cycle)
- 4 non-bandlimited square wave (50% duty cycle)
- 5 non-bandlimited pulse wave (75% duty cycle)
- 6 sine wave
- cosine wave
- 3 harmonic wave (1st, 5th, 9th harmonics)
-
- To inspect the generated file, tableNet.aifc, use
- soundeditor(1), a graphical waveform editor. A bug in
- released versions of soundeditor yields a waveform
- displayed upside down (display only) and clips the
- waveform values exceeding range [-32000 ... 32000]
- (display only).
-
-
- A single cycle of waveform can contain up to
- (length of cycle in samples)/2
- harmonics without aliasing. However, when changing the playback rate
- of the waveforms to output various pitches, the high frequencies cause
- noticeable aliasing and jitter noise.
-
-
-
- Written by Gints Klimanis
- Silicon Graphics Computer Systems
- 1992
-